package com.example.zjx8969.myapplication.glide;

import com.example.zjx8969.myapplication.cache.StorageType;

public class StorageUtil {
    private static StorageUtil util;

    private StorageUtil() {
    }

    public static StorageUtil getInstance() {
        if (util == null) {
            synchronized (StorageUtil.class) {
                if (util == null) util = new StorageUtil();
            }
        }
        return util;
    }

    public void write(StorageType storageType, String key, String content) {

    }

    public String get(StorageType storageType, String key) {
        return null;
    }

    public void write(StorageType storageType, String key, Object content) {

    }

    public Object getContent(StorageType storageType, String key) {

        return null;
    }

    public <T> T getContent(StorageType storageType, String key, T t) {

        return null;
    }

}
